package start;

import action.ActionRegistry;
import action.ActionRegistry.Action;

import java.util.List;

public class Think
{
  public static ActionRegistry.Action doIt(List<ActionRegistry.Action> possible)
  {
    ActionRegistry.Action best = ActionRegistry.Action.NOTHING;
    for (int i = 0; i < possible.size(); i++)
      switch (((ActionRegistry.Action)possible.get(i)).ordinal()) {
      case 2:
        return ActionRegistry.Action.LOGIN;
      case 15:
        return ActionRegistry.Action.GET_NONAME_LIST;
      case 14:
        return ActionRegistry.Action.PVP;
      case 6:
        return ActionRegistry.Action.GET_FAIRY_LIST;
      case 16:
        return ActionRegistry.Action.FAIRY_HISTORY;
      case 17:
        return ActionRegistry.Action.CHANGE_CARD_ITEMS;
      case 7:
        return ActionRegistry.Action.PRIVATE_FAIRY_BATTLE;
      case 13:
        return ActionRegistry.Action.LV_UP;
      case 3:
        return ActionRegistry.Action.GET_FLOOR_INFO;
      case 4:
      case 5:
      case 8:
      case 9:
      case 10:
      case 11:
      case 12: }  return best;
  }
}